package com.zsrd.lessons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsrd.lessons.domain.TsQuestionBank;
import com.zsrd.lessons.domain.vo.TsQuestionBankVo;

import java.util.List;

/**
 * <p>
 * 题库表 Mapper 接口
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
public interface TsQuestionBankMapper extends BaseMapper<TsQuestionBank> {

    IPage<TsQuestionBankVo> getQuestionBankList(Page page, String orgNo, String loginId);

    List<TsQuestionBank> getQuestionBankAllList(String orgNo);

}
